import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/admin/sysJob/list',
    method: 'get',
    params: params
  })
}

export function save(data) {
  return request({
    url: '/admin/sysJob/save',
    method: 'post',
    data: data
  })
}

export function del(ids) {
  return request({
    url: '/admin/sysJob/del/' + ids,
    method: 'post'
  })
}

export function find(id) {
  return request({
    url: '/admin/sysJob/find/' + id,
    method: 'get'
  })
}

export function update(data) {
  return request({
    url: '/admin/sysJob/update',
    method: 'post',
    data: data
  })
}

